.class public Lcom/xingbook/park/b/e;
.super Ljava/lang/Object;


# instance fields
.field a:Ljava/util/ArrayList;

.field private b:I

.field private c:I

.field private d:J

.field private e:I

.field private f:Ljava/lang/String;

.field private g:J

.field private h:Ljava/lang/String;

.field private i:Z

.field private j:Ljava/lang/String;


# direct methods
.method public constructor <init>(IJILjava/lang/String;Ljava/lang/String;)V
    .locals 4

    const-wide/16 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/high16 v0, -0x8000

    iput v0, p0, Lcom/xingbook/park/b/e;->b:I

    iput v1, p0, Lcom/xingbook/park/b/e;->c:I

    iput-wide v2, p0, Lcom/xingbook/park/b/e;->d:J

    iput v1, p0, Lcom/xingbook/park/b/e;->e:I

    iput-wide v2, p0, Lcom/xingbook/park/b/e;->g:J

    iput p1, p0, Lcom/xingbook/park/b/e;->c:I

    iput-wide p2, p0, Lcom/xingbook/park/b/e;->d:J

    iput p4, p0, Lcom/xingbook/park/b/e;->e:I

    iput-object p5, p0, Lcom/xingbook/park/b/e;->f:Ljava/lang/String;

    iput-object p6, p0, Lcom/xingbook/park/b/e;->h:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/b/e;->b:I

    return v0
.end method

.method public a(I)V
    .locals 1

    invoke-static {p1}, Lcom/xingbook/c/t;->d(I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/b/e;->b:I

    return-void
.end method

.method public a(J)V
    .locals 0

    iput-wide p1, p0, Lcom/xingbook/park/b/e;->g:J

    return-void
.end method

.method public a(Lcom/xingbook/b/n;)V
    .locals 4

    const/4 v3, -0x1

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    if-nez v0, :cond_1

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    :cond_1
    invoke-virtual {p1}, Lcom/xingbook/b/n;->s()I

    move-result v0

    if-ne v0, v3, :cond_2

    invoke-virtual {p0}, Lcom/xingbook/park/b/e;->a()I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/xingbook/b/n;->c(I)V

    :cond_2
    iget-boolean v0, p0, Lcom/xingbook/park/b/e;->i:Z

    invoke-virtual {p1, v0}, Lcom/xingbook/b/n;->c(Z)V

    iget-object v0, p0, Lcom/xingbook/park/b/e;->j:Ljava/lang/String;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/b/e;->j:Ljava/lang/String;

    const-string v1, "x"

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    if-le v0, v3, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/b/e;->j:Ljava/lang/String;

    const-string v1, "x"

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    aget-object v1, v0, v1

    invoke-static {v1, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {p1, v1}, Lcom/xingbook/b/n;->i(I)V

    const/4 v1, 0x1

    aget-object v0, v0, v1

    invoke-static {v0, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/xingbook/b/n;->j(I)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_4

    iget-wide v0, p0, Lcom/xingbook/park/b/e;->g:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-gez v0, :cond_4

    invoke-virtual {p1}, Lcom/xingbook/b/n;->w()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/xingbook/park/b/e;->g:J

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 5

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    :try_start_0
    const-string v2, "`"

    invoke-virtual {p1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    aget-object v3, v2, v3

    const/4 v4, 0x0

    invoke-static {v3, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v3

    invoke-virtual {p0, v3}, Lcom/xingbook/park/b/e;->a(I)V

    const/4 v3, 0x1

    aget-object v3, v2, v3

    invoke-virtual {p0, v3}, Lcom/xingbook/park/b/e;->b(Ljava/lang/String;)V

    const/4 v3, 0x3

    aget-object v3, v2, v3

    const/4 v4, 0x0

    invoke-static {v3, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v3

    if-ne v3, v0, :cond_1

    :goto_1
    invoke-virtual {p0, v0}, Lcom/xingbook/park/b/e;->a(Z)V

    const/4 v0, 0x4

    aget-object v0, v2, v0

    invoke-virtual {p0, v0}, Lcom/xingbook/park/b/e;->c(Ljava/lang/String;)V

    const-string v0, "-"

    const/4 v1, 0x6

    aget-object v1, v2, v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->w()J

    move-result-wide v0

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/park/b/e;->a(J)V

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_0

    :cond_1
    move v0, v1

    goto :goto_1

    :cond_2
    const-wide/16 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/park/b/e;->a(J)V

    goto :goto_0

    :cond_3
    const/4 v0, 0x6

    aget-object v0, v2, v0

    const-wide/16 v1, 0x0

    invoke-static {v0, v1, v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;J)J

    move-result-wide v0

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/park/b/e;->a(J)V
    :try_end_0
    .catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/b/e;->i:Z

    return-void
.end method

.method public b()J
    .locals 2

    iget-wide v0, p0, Lcom/xingbook/park/b/e;->d:J

    return-wide v0
.end method

.method public b(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/b/e;->f:Ljava/lang/String;

    return-void
.end method

.method public c()I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/b/e;->e:I

    return v0
.end method

.method public c(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/b/e;->j:Ljava/lang/String;

    return-void
.end method

.method public d()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/b/e;->f:Ljava/lang/String;

    return-object v0
.end method

.method public e()Ljava/lang/String;
    .locals 2

    iget-wide v0, p0, Lcom/xingbook/park/b/e;->g:J

    invoke-static {v0, v1}, Lcom/xingbook/c/p;->b(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public f()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/b/e;->h:Ljava/lang/String;

    return-object v0
.end method

.method public g()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    return-object v0
.end method

.method public h()V
    .locals 4

    iget v0, p0, Lcom/xingbook/park/b/e;->b:I

    const/16 v1, 0x30

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-static {}, Lcom/xingbook/park/activity/HomeActivity;->b()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v2

    if-nez v2, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/b/e;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_2
    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    instance-of v0, v1, Lcom/xingbook/xingbook/b/a;

    if-eqz v0, :cond_2

    move-object v0, v1

    check-cast v0, Lcom/xingbook/xingbook/b/a;

    check-cast v1, Lcom/xingbook/xingbook/b/a;

    invoke-virtual {v1}, Lcom/xingbook/xingbook/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/xingbook/b/a;->s(I)V

    goto :goto_0
.end method
